package com.example.shoppingcar.entity;

public class Student {
    //头像
    private int sHeader;
    //姓名
    private String sName;
    //学号
    private String sNo;


    //构造方法
    public Student(){

    }
    public Student(int sHeader, String sName, String sNo) {
        this.sHeader = sHeader;
        this.sName = sName;
        this.sNo = sNo;
    }

    public int getsHeader() {
        return sHeader;
    }

    public void setsHeader(int sHeader) {
        this.sHeader = sHeader;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public String getsNo() {
        return sNo;
    }

    public void setsNo(String sNo) {
        this.sNo = sNo;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sHeader=" + sHeader +
                ", sName='" + sName + '\'' +
                ", sNo='" + sNo + '\'' +
                '}';
    }
}
